[INFO] fetching crate twain 0.1.0...
[INFO] checking twain-0.1.0 against master#fdca237d5194bf8a1c9b437ebd2114d1c2ba6195 for pr-97739
[INFO] extracting crate twain 0.1.0 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate twain 0.1.0 on toolchain fdca237d5194bf8a1c9b437ebd2114d1c2ba6195
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate twain 0.1.0
[INFO] finished tweaking crates.io crate twain 0.1.0
[INFO] tweaked toml for crates.io crate twain 0.1.0 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6a6c2a8be8472695d1fda6611fc85a351545bbb2c748caa144b82ef7a3244d61
[INFO] running `Command { std: "docker" "start" "-a" "6a6c2a8be8472695d1fda6611fc85a351545bbb2c748caa144b82ef7a3244d61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6a6c2a8be8472695d1fda6611fc85a351545bbb2c748caa144b82ef7a3244d61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a6c2a8be8472695d1fda6611fc85a351545bbb2c748caa144b82ef7a3244d61", kill_on_drop: false }`
[INFO] [stdout] 6a6c2a8be8472695d1fda6611fc85a351545bbb2c748caa144b82ef7a3244d61
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 97c46f2735c8b083da7b3911d4b8ff6624c260e1c3e57d1794d2f0412693a527
[INFO] running `Command { std: "docker" "start" "-a" "97c46f2735c8b083da7b3911d4b8ff6624c260e1c3e57d1794d2f0412693a527", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling dlopen_derive v0.1.4
[INFO] [stderr]     Checking dlopen v0.1.8
[INFO] [stderr]     Checking twain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `c_char`, `c_int`
[INFO] [stdout]   --> src/lib.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 |     os::raw::{c_char, c_int},
[INFO] [stdout]    |               ^^^^^^  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `c_char`, `c_int`
[INFO] [stdout]   --> src/lib.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 |     os::raw::{c_char, c_int},
[INFO] [stdout]    |               ^^^^^^  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1094:13
[INFO] [stdout]      |
[INFO] [stdout] 1094 |         let mut info = ImageInfo::default();
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133)
[INFO] [stdout]    --> src/lib.rs:422:10
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(unaligned_references)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133)
[INFO] [stdout]    --> src/lib.rs:422:26
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |                          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133)
[INFO] [stdout]    --> src/lib.rs:435:10
[INFO] [stdout]     |
[INFO] [stdout] 435 | #[derive(Debug, Default)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133)
[INFO] [stdout]    --> src/lib.rs:663:10
[INFO] [stdout]     |
[INFO] [stdout] 663 | #[derive(Debug)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133)
[INFO] [stdout]    --> src/lib.rs:860:10
[INFO] [stdout]     |
[INFO] [stdout] 860 | #[derive(Debug, Default)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dwPaletteSize` should have a snake case name
[INFO] [stdout]     --> src/lib.rs:1124:13
[INFO] [stdout]      |
[INFO] [stdout] 1124 |         let dwPaletteSize = match header.bit_count {
[INFO] [stdout]      |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_palette_size`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `nImageSize` should have a snake case name
[INFO] [stdout]     --> src/lib.rs:1135:13
[INFO] [stdout]      |
[INFO] [stdout] 1135 |         let nImageSize = header.size_image as usize
[INFO] [stdout]      |             ^^^^^^^^^^ help: convert the identifier to snake case: `n_image_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `bmpFIH` should have a snake case name
[INFO] [stdout]     --> src/lib.rs:1141:17
[INFO] [stdout]      |
[INFO] [stdout] 1141 |         let mut bmpFIH = BitmapFileHeader::default();
[INFO] [stdout]      |                 ^^^^^^ help: convert the identifier to snake case: `bmp_fih`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `twain` due to 11 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/test.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         _ => {
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lib.rs:1094:13
[INFO] [stdout]      |
[INFO] [stdout] 1094 |         let mut info = ImageInfo::default();
[INFO] [stdout]      |             ----^^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/test.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let mut client = Client::new().unwrap();
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133)
[INFO] [stdout]    --> src/lib.rs:422:10
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[deny(unaligned_references)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133)
[INFO] [stdout]    --> src/lib.rs:422:26
[INFO] [stdout]     |
[INFO] [stdout] 422 | #[derive(Debug, Default, Clone)]
[INFO] [stdout]     |                          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133)
[INFO] [stdout]    --> src/lib.rs:435:10
[INFO] [stdout]     |
[INFO] [stdout] 435 | #[derive(Debug, Default)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133)
[INFO] [stdout]    --> src/lib.rs:663:10
[INFO] [stdout]     |
[INFO] [stdout] 663 | #[derive(Debug)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133)
[INFO] [stdout]    --> src/lib.rs:860:10
[INFO] [stdout]     |
[INFO] [stdout] 860 | #[derive(Debug, Default)]
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #82523 <https://github.com/rust-lang/rust/issues/82523>
[INFO] [stdout]     = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dwPaletteSize` should have a snake case name
[INFO] [stdout]     --> src/lib.rs:1124:13
[INFO] [stdout]      |
[INFO] [stdout] 1124 |         let dwPaletteSize = match header.bit_count {
[INFO] [stdout]      |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `dw_palette_size`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `nImageSize` should have a snake case name
[INFO] [stdout]     --> src/lib.rs:1135:13
[INFO] [stdout]      |
[INFO] [stdout] 1135 |         let nImageSize = header.size_image as usize
[INFO] [stdout]      |             ^^^^^^^^^^ help: convert the identifier to snake case: `n_image_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `bmpFIH` should have a snake case name
[INFO] [stdout]     --> src/lib.rs:1141:17
[INFO] [stdout]      |
[INFO] [stdout] 1141 |         let mut bmpFIH = BitmapFileHeader::default();
[INFO] [stdout]      |                 ^^^^^^ help: convert the identifier to snake case: `bmp_fih`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `twain` due to 11 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "97c46f2735c8b083da7b3911d4b8ff6624c260e1c3e57d1794d2f0412693a527", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97c46f2735c8b083da7b3911d4b8ff6624c260e1c3e57d1794d2f0412693a527", kill_on_drop: false }`
[INFO] [stdout] 97c46f2735c8b083da7b3911d4b8ff6624c260e1c3e57d1794d2f0412693a527
